<% String path = request.getContextPath(); %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>修改员工信息</title>
    <link href="${pageContext.request.contextPath}/bootstrap460/css/bootstrap.css" rel="stylesheet">
</head>
<body>
<% String Emp_Id = request.getParameter("Emp_Id"); %>
<% String Emp_Name = request.getParameter("Emp_Name"); %>
<% String Emp_Sex = request.getParameter("Emp_Sex"); %>
<% String Emp_Age = request.getParameter("Emp_Age"); %>
<% String build_id = request.getParameter("build_id"); %>
<% String Emp_Job = request.getParameter("Emp_Job"); %>
<% String Emp_Add = request.getParameter("Emp_Add"); %>
<% String Emp_Tel = request.getParameter("Emp_Tel"); %>
<% String Emp_Des = request.getParameter("Emp_Des"); %>
<% String password = request.getParameter("password"); %>
<jsp:include page="../common/css_js.jsp"/>
<div class="container">
    <h3 class="mt-3 md-3">修改员工信息</h3>
    <form action="${pageContext.request.contextPath}/student/normal/empUpdateSelf">
        <div class="form-group">
            <label>工号</label>:${Emp_Id}
            <input type="text" name="Emp_Id" id="Emp_Id" value="<%=Emp_Id%>" class="form-control" readonly="readonly"/><br>
        </div>
        <div class="form-group">
            <label>姓名</label>
            <input type="text" name="Emp_Name" id="Emp_Name" value="<%=Emp_Name%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>性别</label>
            <input type="text" name="Emp_Sex" id="Emp_Sex" value="<%=Emp_Sex%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>年龄</label>
            <input type="text" name="Emp_Age" id="Emp_Age" value="<%=Emp_Age%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>负责楼房</label>
            <input type="text" name="build_id" id="build_id" value="<%=build_id%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>职位</label>
            <input type="text" name="Emp_Job" id="Emp_Job" value="<%=Emp_Job%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>家庭地址</label>
            <input type="text" name="Emp_Add" id="Emp_Add" value="<%=Emp_Add%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>联系方式</label>
            <input type="text" name="Emp_Tel" id="Emp_Tel" value="<%=Emp_Tel%>" class="form-control"/><br>
        </div>
        <div class="form-group">
            <label>备注</label>
            <input type="text" name="Emp_Des" id="Emp_Des" value="<%=Emp_Des%>" class="form-control"/><br>
        </div>
        <div class="form-group"><label>密码</label><input type="text" name="password" id="password" value="<%=password%>" class="form-control"/><br></div>
        <input class="btn btn-success" type="submit"><br><br>
        <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />
    </form>

</div>
<script>
    function backAndFresh(){
        var url =document.referrer;
        window.location=url;
    }
</script>
</body>
</html>
